package com.xja.entity;

/**
 * @author zcy
 * @create 2022-05-05 17:29
 */
/*
* 评价表
* */
public class Comment {
    private Integer commentId;
    private Integer userId;
    private Integer roomId;
    private String context;

    public Comment(Integer commentId, Integer userId, Integer roomId, String context) {
        this.commentId = commentId;
        this.userId = userId;
        this.roomId = roomId;
        this.context = context;
    }

    public Comment(Integer userId, Integer roomId, String context) {
        this.userId = userId;
        this.roomId = roomId;
        this.context = context;
    }

    public Comment() {
    }

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "commentId=" + commentId +
                ", userId=" + userId +
                ", roomId=" + roomId +
                ", context='" + context + '\'' +
                '}';
    }
}
